SHIFT_DIR=Val_0x0
ADC Data Shift Select Register
SHIFT_CONTROL | Shift these bits before loading value into the sample registers (ADC_SAMPLE_REG_n). To calculate the sample average, program this bit field with the number of bits to shift right based upon the number of samples taken: 1 sample: no shift 2 samples: shift right 1 bit 4 samples: shift right 2 bits 256 samples: shift right 8 bits If any additional shift left or right is desired it should be added to or subtracted from the averaging shift above, and the resulting value programmed into this register. |
SHIFT_DIR | Shift averaged value before loading into the sample registers (ADC_SAMPLE_REG_n): 0 (Val_0x0): Shift averaged value left 1 (Val_0x1): Shift averaged value right |